package com.xiaowan.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xiaowan.dao.UserMapper;
import com.xiaowan.entity.User;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService {

    @Override
    public User getUser(Integer id) {
        return this.getById(id);
    }
}
